/*
 * Copyright (C) Achal B.I
 *
 * All rights reserved
 */

package com.ims.common.dao.login;

import java.util.List;

import com.ims.common.dao.BaseDAO;
import com.ims.stocks.model.Employee;
import com.ims.stocks.model.Role;
import com.ims.stocks.model.UserDetails;






public interface LoginDao  extends BaseDAO {
    
    public String getPassword(String userid);
    public UserDetails getUserDetails(String emailId);
    public Employee getUserInfo(String emailId);
    public void updateLastAccessed(UserDetails userDetails);
    public List<Role> getEmpRole(Integer id);
	public UserDetails getUserDetails(String username, String password);
    
}
